/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package businesslogic;

import dao.PaisDao;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import pojo.PaisPojo;

/**
 *
 * @author BAENA
 */
@ManagedBean
@RequestScoped
public class PaisBean {

    /**
     * Creates a new instance of PaisBean
     */
    public PaisBean() {
    }
     private List<PaisPojo> listaPais;
     
     public List<PaisPojo> getListaPais() {
        listaPais = PaisDao.getListaPais();
        return listaPais;
    }
}
